"""
author：fc
date：  2021/9/22
"""
# 这只是一个尝试，以验证搜狗微信爬取时是否会被拦截，会被拦截

#
from urllib import request
from util.constant_data import headers_firefox
url="https://weixin.sogou.com//link?url=dn9a_-gY295K0Rci_xozVXfdMkSQTLW6cwJThYulHEtVjXrGTiVgS8t2Rty4UrifbSvvEeRH3j2pWVGJg38tH1qXa8Fplpd9gBN57jaGh13AeJHJwQT37MOgt9QyvqX5dfMJnqkNUOhpMWjp9u_Gu6SEpQ9QKzq_oDiZ_u9RiJtzOSoMDioPyFMP-t-OaUtdPXlPt3yhRLDbNFePunaOpf3L08q9xeT218TaIW689dEcTLnHTg-ZgsxUHSw9zS3wzZ5bLLoL6gJhWLv6O878UA..&amp;type=2&amp;query=python&amp;token=703FE82DFA643921FFFA33707724682CFF10FECD614ABADD"
url=request.Request(url=url,headers=headers_firefox)
data=request.urlopen(url).read().decode("utf-8","ignore")
print(data)